package pyip.lib.javalearn.aop.dynamicproxy;

public class GreetingImpl implements Greeting {

    @Override
    public void sayHello(String name) {
        before();
        System.out.println("Hello! " + name);
        after();
    }

    private void before() {
        System.out.println("GreetingImpl Before");
    }

    private void after() {
        System.out.println("GreetingImpl After");
    }
}